<?php
/**
数组的值
 */
header("Content-type:text/html;charset=utf-8");
$arr = [
    'name'=>['frank','chan'],
    'age'=>19,
    'gener'=>true,
    'chilren'=>['大毛','二毛','小明']
];
var_dump($arr);

var_dump($arr['chilren']);
var_dump($arr['chilren'][0]);
var_dump($arr['chilren'][1]);
var_dump($arr['chilren'][2]);

var_dump(count($arr,1));
var_dump(count($arr['chilren'],1));